﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GONES.Cache
{
    public class CacheKey
    {
        /// <summary>
        /// 跟据父级网格节点码，列表子级网格
        /// </summary>
        public const string TAREA_LISTCHILDREN = "TArea-ListChildren-{0}";

        /// <summary>
        /// 跟据节点码，取网格信息
        /// </summary>
        public const string TAREA_STEPCODE = "TArea-StepCode-{0}";

        /// <summary>
        /// 跟据注册号，取企业信息
        /// </summary>
        public const string TENTITY_ENTITYCODE = "TEntity-EntityCode-{0}";

        /// <summary>
        /// 跟据组织机构代码，取企业信息
        /// </summary>
        public const string TGOV_ENTITYCODE ="TGov-EntityCode-{0}";

        /// <summary>
        /// 企业－条码
        /// </summary>
        public const string TPRODUCT_ENTITYCODE_PROCODE = "TProduct-EntityCode-ProCode-{0}-{1}";

        /// <summary>
        /// 用户组
        /// </summary>
        public const string TUSERGROUP_LIST = "TUserGroup-List";

        /// <summary>
        /// 新闻类别
        /// </summary>
        public const string TNEWSTYPE_LIST = "TNewsType-List";

        /// <summary>
        /// 商品类别
        /// </summary>
        public const string TPRODUCTTYPE_LIST = "TProductType-List";

        /// <summary>
        /// 计量单位
        /// </summary>
        public const string TUNITTYPE_LIST = "TUnitType-List";

        /// <summary>
        /// 单据类型
        /// </summary>
        public const string TBILLSTYPE_LIST = "TBillsType-List";

        /// <summary>
        /// 黑名单-列表
        /// </summary>
        public const string TBLACK_LIST = "TBlack-List";

        /// <summary>
        /// 证件类型列表
        /// </summary>
        public const string TCERTTYPE_LIST = "TCertType-List";

        /// <summary>
        /// 跟据EntityCode和证件类型，取证件信息
        /// </summary>
        public const string TCERTTYPE_ENTITYCODE_TYPE = "TCert-EntityCode-Type-{0}";

        /// <summary>
        /// 系统商品-条码
        /// </summary>
        public const string TSYSPRODUCT_PROCODE = "TSysProduct-ProCode-{0}";

        /// <summary>
        /// 系统企业-企业注册号
        /// </summary>
        public const string TSYSENTITY_ENTITYCODE = "TSysEntity-EntityCode-{0}";

        /// <summary>
        /// 客户信息-企业注册号-客户类型
        /// </summary>
        public const string TCUSTOMER_ENTITYCODE_TYPE = "TCustomer-{0}-{1}";

        /// <summary>
        /// 商品信息－企业注册号
        /// </summary>
        public const string TPRODUCT_ENTITYCODE = "TProduct-{0}";

        /// <summary>
        /// 企业上传供应商证件－供应商注册号－本家注册号
        /// </summary>
        public const string TCERT_PENTITYCODE_ENTITYCODE = "TCert-PENTITYCODE-ENTITYCODE-{0}-{1}";

        /// <summary>
        /// 共享库中企业证件
        /// </summary>
        public const string TSYSCERT_ENTITYCODE = "TSysCert-EntityCode-{0}";

        /// <summary>
        /// 共享库中检测报告
        /// </summary>
        public const string TSYSIPCCERT_PROCODE_IPC = "TSysIpcCert-ProCode-Ipc-{0}-{1}";

        /// <summary>
        /// 重点企业类型
        /// </summary>
        public const string TINDUSTRYTYPE_LIST = "TIndustryType-List";

        /// <summary>
        /// 诚信通电话
        /// </summary>
        public const string TCXTTEL_TEL = "TCxtTel-TEL-{0}";

        /// <summary>
        /// 巡查类别
        /// </summary>
        public const string TPATROLTYPE_LIST = "TPatrolType-List";
    }
}
